<%@ Assembly Name="TSB.FarmPowerShellWizard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d4ebb3809437dc11" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="TSB" TagName="PSWMenu" src="~/_controltemplates/TSB.FarmPowerShellWizard/PSWMenu.ascx" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PowerShellWizard.aspx.cs" Inherits="TSB.FarmPowerShellWizard.Layouts.TSB.FarmPowerShellWizard.PowerShellWizard" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<link rel="stylesheet" type="text/css" href="/_layouts/TSB.FarmPowerShellWizard/screen.css"/>
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

<TSB:PSWMenu ID="pswmenu" runat="server" />

<div class="intro">
<div class="welcome">

<p>Welcome to the Beta version of the PowerShell Wizard. This tool will help to generated some PowerShell scripts based on your current farm setup. You can use the menu above to look through the different sections of your farm and see what scripts can currently be created.
Each section has options to create scripts and in generating them it will pull out the details from your current setup. There are parts of the farm configuration that cannot be extracted - for example passwords! 
So you may have to modify some of the scripts and manually set some values before they can be run.
</p>

<p>As updates are released there will be more components which can be scripted. In the meantime drop an email with any suggestions or requests and we'll see what can be done! <a href="mailto:support@thesharepointbaker.co.uk">support@thesharepointbaker.co.uk</a></p>

<p>Disclaimer!!</p>
<p>This tool has been produced to help provide some basic PowerShell scripts which can be used to help with writing your own and learning PowerShell with SharePoint. 
SharePoint farms and configuration vary a great deal and the scripts that are generated won't cover every single setting that is available and there are parts of the configuration haven't been covered.
Please don't assume the scripts are 100% as they don't come with any guarentees!</p>
</div>

<div class="menu">
<ul>
    <li><asp:HyperLink Text="Farm" runat="server" ID="mnFarmSettings" NavigateUrl="/_layouts/TSB.FarmPowerShellWizard/PSW-Farm.aspx" /></li>
    <li><asp:HyperLink Text="Service Applications" runat="server" ID="mnServiceApp" NavigateUrl="/_layouts/TSB.FarmPowerShellWizard/PSW-ServiceApps.aspx" /></li>
    <li><asp:HyperLink Text="Web Applications" runat="server" ID="mnWebAppSettings" NavigateUrl="/_layouts/TSB.FarmPowerShellWizard/PSW-WebApps.aspx" /></li>
</ul>

<asp:Literal ID="ltUpdateAvailable" runat="server" />
</div>


<p class="tsb">V0.2 This tool was created by Adam Burcher, <a href="http://www.thesharepointbaker.co.uk" target="_blank">www.thesharepointbaker.co.uk</a> | Twitter: @sharepointbaker</p>

</div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
PowerShell Wizard
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
PowerShell Wizard
</asp:Content>
